package com.frank.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frank.practice.entity.SubjectRadio;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/3/5
 * @description 
 */
@Mapper
public interface SubjectRadioMapper extends BaseMapper<SubjectRadio> {
    /**
     * Query by subject id
     * @param subjectId subject id
     * @return subject
     */
    List<SubjectRadio> queryBySubjectId(@Param("subjectId")Long subjectId);
}